import storage from '@/utils/storage.js'
import msg from '@/utils/message.js'
import router from './core/router.js'
import wxSdk from '@/utils/wxSdk.js'
// dayjs
import dayjs from 'dayjs'
export default {
	install(Vue) {
		Vue.prototype.$s = storage

		Vue.prototype.$msg = msg

		Vue.prototype.router = router

		uni.router = router

		Vue.prototype.dayjs = dayjs

		// wxSDK
		Vue.prototype.$wx = wxSdk

		msg.init(Vue)
	}
}